export class Constants {
  static readonly AUTH_ROUTE = 'pages/Auth';
  static readonly FUNCTION_ROUTE = 'pages/CloudFunction';
  static readonly DB_ROUTE = 'pages/CloudDb';
  static readonly STORAGE_ROUTE = 'pages/CloudStorage';
  static readonly PERCENT_25 = '25%';
  static readonly PERCENT_50 = '50%';
  static readonly PERCENT_70 = '70%';
  static readonly PERCENT_75 = '75%';
  static readonly PERCENT_90 = '90%';
  static readonly PERCENT_96 = '96%';
  static readonly PERCENT_100 = '100%';
  static readonly VIEWPORT_50 = '50vp';
  static readonly LENGTH_1_PX = 1;
  static readonly LENGTH_2_PX = 2;
  static readonly LENGTH_3_PX = 3;
  static readonly LENGTH_5_PX = 5;
  static readonly LENGTH_6_PX = 6;
  static readonly LENGTH_8_PX = 8;
  static readonly LENGTH_10_PX = 10;
  static readonly LENGTH_15_PX = 15;
  static readonly LENGTH_20_PX = 20;
  static readonly LENGTH_30_PX = 30;
  static readonly LENGTH_40_PX = 40;
  static readonly LENGTH_70_PX = 70;
  static readonly WIDTH_120 = 120;

  static readonly LENGTH_250_PX = 250;
  static readonly LENGTH_100_PX = 100;
  static readonly LENGTH_150_PX = 150;
  static readonly LENGTH_160_PX = 160;
  static readonly LENGTH_180_PX = 180;
  static readonly BORDER_RADIUS_4_PX = 4;
  static readonly BORDER_RADIUS_24_PX = 24;
  static readonly DB_INSERT_ROUTE = 'pages/DbInsert';
  static readonly HEIGHT_50VP = '50vp';
  static readonly WIDTH_25_P = '25%';
  static readonly WIDTH_50 = '50%';
  static readonly WIDTH_70_P = '70%';
  static readonly WIDTH_75_P = '75%';
  static readonly WIDTH_90 = '90%';
  static readonly FULL_WIDTH = '100%';
  static readonly WIDTH_20 = 20;
  static readonly WIDTH_70 = 70;
  static readonly WIDTH_250 = 250;
  static readonly HEIGHT_100 = 100;
  static readonly HEIGHT_150 = 150;
  static readonly HEIGHT_160 = 160;
  static readonly HEIGHT_180 = 180;

  static readonly HEIGHT_40 = 40;
  static readonly HEIGHT_24 = 24;
  static readonly HEIGHT_90 = '90%';
  static readonly FULL_HEIGHT = '100%';
  static readonly HEIGHT_50 = '50%';
  static readonly MP_5 = 5;
  static readonly MP_10 = 10;
  static readonly MP_15 = 15;
  static readonly MP_20 = 20;
  static readonly MP_30 = 30;
  static readonly BORDER_RADIUS = 4;
  static readonly BORDER_WIDTH = 1;
  static readonly WEIGHT_1 = 1;
  static readonly WEIGHT_2 = 2;
  static readonly WEIGHT_3 = 3;
  static readonly MAX_LENGTH_6 = 6;
  static readonly CHECKBOX_WIDTH = 8;


  static readonly VIEW_BG_COLOR = '#F5F3F2';
  static readonly CHAT_BG_COLOR = '#A1D372';
  static readonly TEXT_INPUT_BG_COLOR = '#D1D3D5';

  static readonly BORDER_RADIUS_8_PX = 8;
  static readonly BORDER_RADIUS_16_PX = 16;


  static readonly LOG_TAG_NAME = "[QARobot-Log]";
  static readonly PREFERENCES_NAME = "QARobotStore";
  static readonly USER_AUTH_INFO = "user";

  static readonly FORM_PARAM_IDENTITY_KEY = "ohos.extra.param.key.form_identity";
  static readonly FORM_PARAM_DIMENSION_KEY = "ohos.extra.param.key.form_dimension";
  static readonly FORM_PARAM_NAME_KEY = "ohos.extra.param.key.form_name";
  static readonly DEFAULT_DIMENSION_1X2 = 1;
  static readonly DEFAULT_DIMENSION_2X2 = 2;
  static readonly DEFAULT_DIMENSION_2X4 = 3;
  static readonly DEFAULT_DIMENSION_4X4 = 4;
  static readonly WIDGET_NAME_USERINFO = "widget";
  static readonly WIDGET_NAME_QUESTIONS = "questions";
  static readonly CHAT_SERVER_URL = "https://ai.fulitimes.com/api/openapi";

  //华为云
  //64af87a6178fd0e62a453ef1
  static readonly CHAT_HUAWEI_CLOUD = "Bearer fastgpt-ug2e7tbjp2p4hz3xwx2eihee-64af87a6178fd0e62a453ef1";
  //OpenHarmony
  static readonly CHAT_OPENHARMONY = "Bearer fastgpt-ug2e7tbjp2p4hz3xwx2eihee-64af8870178fd0e62a453f3e";
  //欧拉
  //64af883b178fd0e62a453f24
  static readonly CHAT_Euler = "Bearer fastgpt-ug2e7tbjp2p4hz3xwx2eihee-64af883b178fd0e62a453f24";
  //元服务
  static readonly CHAT_Service = "Bearer fastgpt-ug2e7tbjp2p4hz3xwx2eihee-64af483b178fd0e62a452f1d";
  static readonly FONT_WEIGHT: number = 500;
  /**
   * Date year
   */
  static readonly DATE_YEAR: string = '年';
  /**
   * Date dialog start time.
   */
  static readonly START_TIME: string = '1900-1-1';

  /**
   * Date dialog select time.
   */
  static readonly SELECT_TIME: string = '1990-1-1';
  /**
   * Font weight of the 500.
   */
  static readonly BIGGER: number = 500;
  /**
   * The Common utils tag.
   */
  static readonly TAG_COMMON_UTILS: string = 'CommonUtils';

  /**
   * Custom dialog widget tag.
   */
  static readonly TAG_CUSTOM: string = 'CustomDialogWidget';

  /**
   * Dialog y-axis offset distance of the 20.
   */
  static readonly DY_OFFSET: number = -20;

  /**
   * Current month plus one.
   */
  static readonly PLUS_ONE: number = 1;
  /**
   * Date month
   */
  static readonly DATE_MONTH: string = '月';

  /**
   * Date day
   */
  static readonly DATE_DAY: string = '日';
  /**
   * One hundred percent.
   */
  static readonly FULL_PERCENT: string = '100%';

  /**
   * Recent text height.
   */
  static readonly RECENT_TEXT_HEIGHT: string = '2.7%';

  /**
   * Recent text width.
   */
  static readonly RECENT_TEXT_WIDTH: string = '48.9%';

  /**
   * Delete image height.
   */
  static readonly DELETE_IMAGE_HEIGHT: string = '3.1%';

  /**
   * Delete image width.
   */
  static readonly DELETE_IMAGE_WIDTH: string = '6.7%';

  /**
   * No search image height.
   */
  static readonly NO_SEARCH_IMAGE_HEIGHT: string = '15.4%';

  /**
   * No search image width.
   */
  static readonly NO_SEARCH_IMAGE_WIDTH: string = '33.3%';

  /**
   * No search text height.
   */
  static readonly NO_SEARCH_TEXT_HEIGHT: string = '2.7%';

  /**
   * No search text width.
   */
  static readonly NO_SEARCH_TEXT_WIDTH: string = '26.7%';

  /**
   * Flew layout padding top.
   */
  static readonly FLEX_PADDING_TOP: string = '0.8%';

  /**
   * Flew layout padding bottom.
   */
  static readonly FLEX_PADDING_BOTTOM: string = '0.8%';

  /**
   * Flew layout padding left.
   */
  static readonly FLEX_PADDING_LEFT: string = '4.4%';

  /**
   * Flew layout padding right.
   */
  static readonly FLEX_PADDING_RIGHT: string = '4.4%';

  /**
   * Search input height.
   */
  static readonly SEARCH_HEIGHT: string = '5.1%';

  /**
   * Search input width.
   */
  static readonly SEARCH_WIDTH: string = '81.1%';

  /**
   * Text max line.
   */
  static readonly TEXT_MAX_LINE: number = 2;

  /**
   * Search placeholder.
   */
  static readonly SEARCH_PLACEHOLDER: string = '搜索...';

  /**
   * Layout weight.
   */
  static readonly LAYOUT_WEIGHT: number = 8;

  /**
   * Search icon.
   */
  static readonly SEARCH_ICON: string = '/resources/base/media/ic_search.png';
  /**
   * Preference saved key.
   */
  static readonly PREFERENCES_KEY_PRIVACY: string = 'isPrivacy';

  /**
   * Preference saved file name.
   */
  static readonly PREFERENCES_FILE_NAME: string = 'myStore';

  /**
   * Launcher page count down.
   */
  static readonly LAUNCHER_DELAY_TIME: number = 3000;

  /**
   * Image logo top margin.
   */
  static readonly LAUNCHER_IMAGE_MARGIN_TOP: string = '16.2%';

  /**
   * Healthy living text spacing.
   */
  static readonly LAUNCHER_LIFE_TEXT_SPACING: number = 0.1;

  /**
   * Healthy living title text top margin.
   */
  static readonly LAUNCHER_TEXT_TITLE_MARGIN_TOP: string = '0.5%';

  /**
   * Content control height.
   */
  static readonly LAUNCHER_TEXT_INTRODUCE_HEIGHT: string = '2.7%';

  /**
   * Healthy living instructions.
   */
  static readonly LAUNCHER_TEXT_INTRODUCE_SPACING: number = 3.4;

  /**
   * Healthy living content top margin.
   */
  static readonly LAUNCHER_TEXT_INTRODUCE_MARGIN_TOP: string = '1.3%';

  /**
   * Interval execution time.
   */
  static readonly ADVERTISING_INTERVAL_TIME: number = 1000;

  /**
   * Advertising page url.
   */
  static readonly ADVERTISING_PAGE_URL: string = 'pages/AdvertisingPage';

  /**
   * Display countdown seconds.
   */
  static readonly ADVERTISING_COUNT_DOWN_SECONDS: number = 2;

  /**
   * Count down text spacing.
   */
  static readonly ADVERTISING_TITLE_TEXT_LETTER_SPACING: number = 0.05;

  /**
   * Advertising page healthy text spacing.
   */
  static readonly ADVERTISING_HEALTHY_LIFE_TEXT_SPACING: number = 0.1;

  /**
   * Advertising page health description text spacing.
   */
  static readonly ADVERTISING_TEXT_INTRODUCE_LETTER_SPACING: number = 3.4;

  /**
   * Advertising page health description text top margin.
   */
  static readonly ADVERTISING_TEXT_INTRODUCE_MARGIN_TOP: string = '0.4%';

  /**
   * Column container left margin.
   */
  static readonly ADVERTISING_COLUMN_MARGIN_LEFT: string = '3.1%';

  /**
   * Row container bottom margin.
   */
  static readonly ADVERTISING_ROW_MARGIN_BOTTOM: string = '3.1%';

  /**
   * Dialog component width the percentage of the 90.
   */
  static readonly DIALOG_COMPONENT_WIDTH_PERCENT: string = '90%';

  /**
   * Dialog title text weight.
   */
  static readonly DIALOG_TITLE_FONT_WEIGHT: number = 600;

  /**
   * Dialog width the percentage of the 93.3.
   */
  static readonly DIALOG_WIDTH_PERCENT: string = '93.3%';

  /**
   * Dialog border radius.
   */
  static readonly DIALOG_BORDER_RADIUS: number = 24;

  /**
   * Dialog component bottom margin,
   */
  static readonly DIALOG_ROW_MARGIN_BOTTOM: string = '3.1%';

  /**
   * Dialog y-axis offset distance.
   */
  static readonly DIALOG_CONTROLLER_DY_OFFSET: number = -24;


  /**
   * Privacy page url.
   */
  static readonly PRIVACY_PAGE_URL: string = 'pages/PrivacyPage';

  /**
   * App home page url.
   */
  static readonly APP_HOME_PAGE_URL: string = 'pages/AppHomePage';

  /**
   * Common layout weight.
   */
  static readonly COMMON_LAYOUT_WEIGHT: number = 1;
  /**
   * Preference saved key.
   */


}


export const WidgetPageNEWS: string = 'News';

export const WidgetPagePHONE: string = 'Phone';

export const WidgetPageARTICLE: string = 'Article';

export const WidgetPageRUBBISH: string = 'Rubbish';

export const WidgetPageWbTop: string = 'WbTop';

export const Harmony: string = 'Harmony';

export const MetaService: string = 'MetaService';

export const HuaWeiCloud: string = 'HuaWeiCloud';

export const Euler: string = 'Euler';


export const WidgetPageOIL: string = 'Oil';


export const SERVER: string = 'http://**.**.**.**:**';

export const RubbishSERVER: string = "https://www.mxnzp.com/api/rubbish/type";

export const PHONESERVER: string = "https://v.api.aa1.cn/api/phone/guishu-api.php";

export const OILSERVER: string = "https://www.mxnzp.com/api/oil/search";

export const ZAOBAOSERVER: string = "https://v2.alapi.cn/api/zaobao";

export const RandomArticleSERVER: string = "https://v2.alapi.cn/api/mryw/random";

export const APPID: string = "syxjsktoliwlllfl";

export const APPSECRET: string = "VHBFNkJBc0d2M0tyQnNsbCt1VDZ1dz09";

export const ALAPITOKEN: string = "qlVquQZPYSeaCi6u";

export const WTOPSERVER: string = "https://v2.alapi.cn/api/new/wbtop";

export const AISERVER: string = "https://ai.fulitimes.com/api/openapi/v1/chat/completions";

/**
 * Get the news type.
 */
export const GET_NEWS_TYPE: string = 'getNewsType';

/**
 * Get the news list.
 */
export const GET_NEWS_LIST: string = 'getNewsList';

/**
 * The request success status code.
 */
export const SERVER_CODE_SUCCESS: string = 'success';

/**
 * The off set coefficient.
 */
export const Y_OFF_SET_COEFFICIENT: number = 0.1;

/**
 * The page size.
 */
export const PAGE_SIZE: number = 10;

/**
 * The refresh and load height.
 */
export const CUSTOM_LAYOUT_HEIGHT: number = 70;

/**
 * Gt tab data current page.
 */
export const GET_TAB_DATA_CURRENT_PAGE: number = 1;

/**
 * Http request success status code.
 */
export const HTTP_CODE_200: number = 200;

/**
 * The animation delay time.
 */
export const DELAY_ANIMATION_DURATION: number = 300;

/**
 * The delay time.
 */
export const DELAY_TIME: number = 1000;

/**
 * The animation duration.
 */
export const ANIMATION_DURATION: number = 2000;

/**
 * The http timeout duration.
 */
export const HTTP_READ_TIMEOUT: number = 10000;

/**
 * Full the width.
 */
export const FULL_WIDTH: string = '100%';

/**
 * Full the height.
 */
export const FULL_HEIGHT: string = '100%';

/**
 * The TabBars constants.
 */
